﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/admin/admin.master" AutoEventWireup="true" CodeBehind="UserActivityAll.aspx.cs" Inherits="web.admin.UserActivityAll" 
    Title="用户参与活动信息管理" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script language="javascript" type="text/javascript" src="../JavaScripts/common.js"></script>
    <table class="SubMenu_Item" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td class="Current_Item" id="TD1"><a href="ActivityUsers.aspx">参与活动用户</a></td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td  style="FONT-SIZE: 12px">
                    <asp:Label ID="label1" Text="用户检索：" runat="server" />&nbsp;
                    <asp:TextBox ID="keyWord" Text="" runat="server"  Columns="40"/>&nbsp;
                    <asp:Button runat="server" ID="search" text="检索" OnClick="search_Click"/> &nbsp;
                </td>
            </tr>
	        <tr>
	            <td>
                   <asp:GridView ID="userActivityList" runat="server" AutoGenerateColumns="False"  
                        OnPageIndexChanging="pageIndexChanging" AllowPaging="True" PageSize="20" DataKeyNames="id" SkinID="orange" >
                        <Columns>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Label ID="Label1" Text="申请人" runat="server"/>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="userName" Text='<%# Eval("UserName") %>' runat="server" /> 
                                </ItemTemplate>
                                <ItemStyle Width="20%" HorizontalAlign="Left"/>
                            </asp:TemplateField>                        
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Label ID="Label1" Text="标题" runat="server"/>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="activityTitle" Text='<%# Eval("ActivityTitle") %>' runat="server" /> 
                                </ItemTemplate>
                                <ItemStyle Width="50%" HorizontalAlign="Left"/>
                            </asp:TemplateField>  
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Label ID="Label2" Text="申请时间" runat="server"/>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="applyDate" Text='<%# Eval("ApplyDate") %>' runat="server" />
                                </ItemTemplate>
                                <ItemStyle Width="15%" HorizontalAlign="center"/>
                            </asp:TemplateField> 
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Label ID="Label2" Text="状态" runat="server" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="isVerify" runat="server" Text='<%# Eval("Status") %>'/>
                                </ItemTemplate>
                                <ItemStyle Width="10%" HorizontalAlign="center"/>
                            </asp:TemplateField>  
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:Label ID="Label2" Text="操作" runat="server"/>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink ID="optLink" runat="server" Text='<%# Eval("Operation") %>' NavigateUrl='<%# Eval("OptLinkUrl") %>'/>
                                </ItemTemplate>
                                <ItemStyle Width="5%" HorizontalAlign="center"/>
                            </asp:TemplateField>                             
                        </Columns>
                    </asp:GridView> 
	            </td>
	        </tr>
	    </tbody>
    </table>	  
</asp:Content>
